A B C D E F G H I L M N O P R S T U V W X Z

S

SafeXMLString(Node) - Static method in class algalcommand.io.XMLWriter
Deprecated. Will be discontinuing the use of SAX parsers (due to lack of thread safety)
saveConfig(Document) - Method in class algalcommand.alpha.OldPBRForm
 
saveConfig(Document) - Method in class algalcommand.script.ScriptManager

Note that the values of global variables in the script will not be saved in the configuration, but can be saved and loaded using the provided utilities.

saveReadLocalFile(String) - Method in class algalcommand.script.FileIO
Reads the contents of the specified file as text.
saveTextToLocalFile(String, String) - Method in class algalcommand.script.FileIO
Saves a block of text to a given file path relative to the program folder.
saveVariable(boolean, String) - Method in class algalcommand.script.FileIO
Saves a variable to a temporary file that will persist after the program closes.
saveVariable(int, String) - Method in class algalcommand.script.FileIO
Saves a variable to a temporary file that will persist after the program closes.
saveVariable(long, String) - Method in class algalcommand.script.FileIO
Saves a variable to a temporary file that will persist after the program closes.
saveVariable(double, String) - Method in class algalcommand.script.FileIO
Saves a variable to a temporary file that will persist after the program closes.
saveVariable(String, String) - Method in class algalcommand.script.FileIO
Saves a variable to a temporary file that will persist after the program closes.
scanner - Static variable in class algalcommand.testbench.MainFrame
 
Schedule - Class in algalcommand.io
 
Schedule() - Constructor for class algalcommand.io.Schedule
Default constructor
schedule_spinner - Variable in class algalcommand.alpha.OldPBRForm
 
ScheduleKeeper - Class in algalcommand.io
This class is used to manipulate an object based on a schedule.
ScheduleKeeper() - Constructor for class algalcommand.io.ScheduleKeeper
default constructor, you must use createSchedule(), setTarget(), and setUpdatePeriodInMinutes() before using start()
ScheduleKeeper(Object, File, double) - Constructor for class algalcommand.io.ScheduleKeeper
Initializes with the given targets and schedule
SCRIPT_DIRECTORY_PATH - Static variable in class algalcommand.Properties
This string is the filepath to the folder that holds scripting related resources
SCRIPT_FUNCTION_DEINITIALIZE - Static variable in class algalcommand.Properties
This is the name of the script function that is called everytime the script file is closed (such as when the program is closed or the PBR is otherwise interrupted during an experiment).
SCRIPT_FUNCTION_ENDEXPERIMENT - Static variable in class algalcommand.Properties

function experimentStart(){
   /* do stuff that happens only once, at the end of the experiement */
}

SCRIPT_FUNCTION_STARTEXPERIMENT - Static variable in class algalcommand.Properties

function experimentStart(){
   /* do stuff that happens only once, at the beginning of the experiement */
}

SCRIPT_FUNCTION_TURBIDITYEVENT - Static variable in class algalcommand.Properties
This is the name of the script function that is called whenever turbidity data arrives from the hardware.

function turbidityEvent(transmission){
   /* Do stuff related to transmission, transmission is measured in volts*/
}

SCRIPT_HEADER_FILE - Static variable in class algalcommand.Properties
This File should point to the header for PBR scripts.
SCRIPT_NAME - Variable in class algalcommand.script.FileIO
This is the name of this object from within the javascript
ScriptManager - Class in algalcommand.script
The ScriptManager class is the master controller for Pbotobioreactor (PBR) behavior.
ScriptManager() - Constructor for class algalcommand.script.ScriptManager
 
sendCommand(String, PrintWriter) - Static method in class algalcommand.alpha.Photobioreactor
Formats the given command to PBR command notation (basically add '>' as a prefix) and sends it down the provided output stream
sendCommand(String) - Method in class algalcommand.alpha.Photobioreactor
Formats the given command to PBR command notation (basically add '>' as a prefix) and sends it down the provided output stream.
sendCommand(String) - Method in class algalcommand.io.AlgalNetIO
Sends a command to the PBRBrain over the network
sendCommand(String) - Method in class algalcommand.testbench.PBRTestPanel
 
setAttribute(String, String) - Method in class algalcommand.io.xml.Element
Sets the value of an attribute for this element If the attribute does not already exist, it is automatically created.
setHours(int) - Method in class algalcommand.io.SimpleTime
Sets the hour time component
setMAC(String) - Method in class algalcommand.alpha.Photobioreactor
The PBRBrain has no way of seeing its own MAC address, but its ethernet module transmits its MAC during network discovery.
setMinutes(int) - Method in class algalcommand.io.SimpleTime
Sets the minute time component
setPBRName(String) - Method in class algalcommand.alpha.OldPBRForm
 
setPhotobioreactor(Photobioreactor) - Method in class algalcommand.alpha.PBRPanelAlpha
 
setSeconds(int) - Method in class algalcommand.io.SimpleTime
Sets the second time component
setSeconds(double) - Method in class algalcommand.io.SimpleTime
Sets the second time component
setSolar(double) - Method in class algalcommand.alpha.OldPBRForm
Sets the intensity of the Solar LED
setStir(double) - Method in class algalcommand.alpha.OldPBRForm
Sets the stirring spead
setStir(int) - Method in class algalcommand.alpha.OldPBRForm
Sets the stirring spead
setStir(boolean) - Method in class algalcommand.alpha.OldPBRForm
 
setTagName(String) - Method in class algalcommand.io.xml.Element
Sets the name of this tag.
setTarget(Object) - Method in class algalcommand.io.ScheduleKeeper
Sets the object to be updated periodically from the schedule
setTime(String) - Method in class algalcommand.io.SimpleTime
 
setTime(Date) - Method in class algalcommand.io.SimpleTime
Sets the time from the given date object.
setTime(Calendar) - Method in class algalcommand.io.SimpleTime
Sets the time from the given Calendar object.
setUpdatePeriodInMinutes(double) - Method in class algalcommand.io.ScheduleKeeper
Sets the update period
setUpdatePeriodInSeconds(double) - Method in class algalcommand.io.ScheduleKeeper
Sets the update period
setValve(boolean) - Method in class algalcommand.alpha.OldPBRForm
sets whether the gas valve is on or off
showAboutBox() - Method in class algalcommand.alpha.AlgalCommandView
 
showException(Class, Exception) - Static method in class algalcommand.io.ErrorHandler
Does something to indicate to the user that an expception has occured.
showException(Class, Exception, String) - Static method in class algalcommand.io.ErrorHandler
Does something to indicate to the user that an expception has occured.
SimpleTime - Class in algalcommand.io
 
SimpleTime() - Constructor for class algalcommand.io.SimpleTime
 
SimpleTime(String) - Constructor for class algalcommand.io.SimpleTime
Creates an object frmo a time string
SimpleTime(Date) - Constructor for class algalcommand.io.SimpleTime
Creates an object from a date object
SimpleTime(Calendar) - Constructor for class algalcommand.io.SimpleTime
Creates an object from a calendar object
sinday_checkbox - Variable in class algalcommand.alpha.OldPBRForm
 
socket - Variable in class algalcommand.testbench.PBRTestPanel
 
solarvoltage_spinner - Variable in class algalcommand.alpha.OldPBRForm
 
speed_spinner - Variable in class algalcommand.alpha.OldPBRForm
 
start() - Method in class algalcommand.io.ScheduleKeeper
Starts updating the target from the schedule
startListening() - Method in class algalcommand.io.AlgalNetIO
 
startup() - Method in class algalcommand.alpha.AlgalCommandApp
At startup create and show the main frame of the application.
stderrs - Static variable in class algalcommand.io.ErrorHandler
 
stir_button - Variable in class algalcommand.alpha.OldPBRForm
 
stopListening() - Method in class algalcommand.io.AlgalNetIO
 
stopme - Static variable in class algalcommand.alpha.Tester
 
stringToXML(String) - Method in class algalcommand.io.xml.XMLFormatter
Formats the given string for XML by substituting characters with special meaning to their escape sequences.

A B C D E F G H I L M N O P R S T U V W X Z